<include file="Admin@Public/header" /> 

<div class="col-sm-10 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <ol class="breadcrumb">
      <li>网站设置</li>
      <li>基本信息</li>
      <li class="active">编辑</li>
    </ol>
     

<form  class="form-horizontal" role="form" action="__URL__/save" >
  <input type="hidden" name="inputId" value="{$webinfo.id}" > 
  <div class="form-group">
    <label for="inputCompany" class="col-sm-2 control-label">公司名</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="inputCompany" name="company" placeholder="请输入公司名" datatype="*2-24" errormsg="<i class='icon-warning-sign'></i> 公司名在2~24位之间"  nullmsg="<i class='icon-warning-sign'></i> 请输入公司名！" value="{$webinfo.company}">
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">公司名至少2个字符,最多24个字符<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputAddress" class="col-sm-2 control-label">地址</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="inputAddress" name="address" placeholder="请输入公司地址" datatype="*2-32" errormsg="<i class='icon-warning-sign'></i> 公司地址在2~32位之间"  nullmsg="<i class='icon-warning-sign'></i> 请输入公司地址！" value="{$webinfo.address}">
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">公司地址至少2个字符,最多32个字符<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputQQ" class="col-sm-2 control-label">QQ</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="inputQQ" name="qq" placeholder="请输入联系QQ号" datatype="*0-12" errormsg="<i class='icon-warning-sign'></i> 必须是合法的邮箱格式"  nullmsg="<i class='icon-warning-sign'></i> 请输入联系QQ号！" value="{$webinfo.qq}"> 
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">请输入联系QQ号<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputEmail" class="col-sm-2 control-label">邮箱</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="inputEmail" name="email" placeholder="请输入联系邮箱" datatype="e" errormsg="<i class='icon-warning-sign'></i> 必须是合法的邮箱格式"  nullmsg="<i class='icon-warning-sign'></i> 请输入联系邮箱！" value="{$webinfo.email}"> 
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">必须是合法的邮箱格式<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputTell" class="col-sm-2 control-label">电话</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="inputTell" name="tell" placeholder="请输入联系电话"  datatype="*0-100" errormsg="<i class='icon-warning-sign'></i> "  nullmsg="<i class='icon-warning-sign'></i> 请输入联系联系电话！" value="{$webinfo.tell}">
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">请输入联系电话<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputFax" class="col-sm-2 control-label">传真</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="inputFax" name="fax" placeholder="请输入联系传真"  datatype="*0-32" errormsg="<i class='icon-warning-sign'></i>"  nullmsg="<i class='icon-warning-sign'></i> 请输入联系传真！" value="{$webinfo.fax}">
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">请输入联系传真<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputSeotitle" class="col-sm-2 control-label">SEO标题</label>
    <div class="col-sm-6">
      <textarea class="form-control" id="inputSeotitle" name="seotitle" placeholder="请输入SEO标题" datatype="*1-80" errormsg="<i class='icon-warning-sign'></i> SEO标题在0~80位之间"  nullmsg="<i class='icon-warning-sign'></i> 请输入SEO标题！" >{$webinfo.seotitle}</textarea>
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">网站SEO标题最多80个字符<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputSeokeywords" class="col-sm-2 control-label">SEO关键字</label>
    <div class="col-sm-6">
      <textarea class="form-control" id="inputSeokeywords" name="seokeywords" placeholder="请输入SEO关键字" datatype="*1-100" errormsg="<i class='icon-warning-sign'></i> SEO关键字在0~100位之间"  nullmsg="<i class='icon-warning-sign'></i> 请输入SEO关键字！">{$webinfo.seokeywords}</textarea>
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">网站SEO关键字最多100个字符<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputSeodescription" class="col-sm-2 control-label">SEO描述</label>
    <div class="col-sm-6">
      <textarea class="form-control" id="inputSeodescription" name="seodescription" placeholder="请输入SEO描述" datatype="*1-200" errormsg="<i class='icon-warning-sign'></i> SEO描述在0~200位之间"  nullmsg="<i class='icon-warning-sign'></i> 请输入SEO描述！" >{$webinfo.seodescription}</textarea>
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">网站SEO描述最多200个字符<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
   <div class="form-group">
    <label for="inputCopyright" class="col-sm-2 control-label">Copyright</label>
    <div class="col-sm-6">
      <textarea class="form-control" id="inputCopyright" name="copyright" placeholder="请输入版权Copyright" datatype="*0-100">{$webinfo.copyright}</textarea>
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">网站版权Copyright<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputSitemapx" class="col-sm-2 control-label">百度Map</label>
    <div class="col-sm-3">
      <input type="text" class="form-control" id="inputSitemapx" name="mapx" placeholder="请输入百度地图坐标X" value="{$webinfo.mapx}">
    </div>
    <div class="col-sm-3">
      <input type="text" class="form-control" id="inputSitemapy" name="mapy" placeholder="请输入百度地图坐标y" value="{$webinfo.mapy}">
    </div>
  </div>
  <div class="form-group">
    <label for="inputSitetongji" class="col-sm-2 control-label">百度统计</label>
    <div class="col-sm-6">
      <textarea class="form-control" id="inputSitetongji" name="site_tongji" placeholder="请输入百度统计js代码" datatype="*0-1000">{$webinfo.site_tongji}</textarea>
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">百度统计的JS代码<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
    <div class="form-group">
    <label for="" class="col-sm-2 control-label"> </label>
    <div class="col-sm-6">
      注：百度统计代码不要有 回车换行！
    </div>
  </div>
  <div class="form-group">
    <label for="inputStatus" class="col-sm-2 control-label"> </label>
    <div class="col-sm-6">
      <input type="button" class="btn btn-primary" value="保存" id="btn_sub"/>
       <a href="__URL__/index" class="btn btn-default" >返回</a>
  </div>
</div>
</form> 
            
            
</div>

<include file="Admin@Public/script_form" /> 
<include file="Admin@Public/footer" /> 
   
